Smart Contract Vulnerability Detection Based on Hybrid Attention Mechanism Model

نویسندگان

چکیده

A smart contract, as an important part of blockchain technology, has attracted considerable interest from both industry and academia. It provides the basis for realization a variety practical applications plays crucial role in ecosystem. While it also holds large number digital assets, frequent occurrence contract vulnerabilities have caused huge economic losses destroyed blockchain-based credit system. Currently, security reliability contracts become new focus research, there are vulnerability detection methods, such traditional tools based on static or dynamic analysis. However, most them often rely expert rules, therefore poor scalability high false negative positive rates. Recent deep learning methods alleviate this issue, but without considering semantic information context source code. To end, we propose hybrid attention mechanism (HAM) model to detect contracts. We extract code fragments code, which key points vulnerability. conduct extensive experiments two public datasets (a total 24,957 contracts). Empirical results show remarkable accuracy improvement over state-of-the art five kinds vulnerabilities, where could achieve 93.36%, 80.85%, 82.56%, 85.62%, 82.19% reentrancy, arithmetic vulnerability, unchecked return value, timestamp dependency, tx.origin, respectively.

برای دانلود باید عضویت طلایی داشته باشید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

mortality forecasting based on lee-carter model

over the past decades a number of approaches have been applied for forecasting mortality. in 1992, a new method for long-run forecast of the level and age pattern of mortality was published by lee and carter. this method was welcomed by many authors so it was extended through a wider class of generalized, parametric and nonlinear model. this model represents one of the most influential recent d...

15 صفحه اول

Anomaly-based Web Attack Detection: The Application of Deep Neural Network Seq2Seq With Attention Mechanism

Today, the use of the Internet and Internet sites has been an integrated part of the people’s lives, and most activities and important data are in the Internet websites. Thus, attempts to intrude into these websites have grown exponentially. Intrusion detection systems (IDS) of web attacks are an approach to protect users. But, these systems are suffering from such drawbacks as low accuracy in ...

متن کامل

Intrusion Detection based on a Novel Hybrid Learning Approach

Information security and Intrusion Detection System (IDS) plays a critical role in the Internet. IDS is an essential tool for detecting different kinds of attacks in a network and maintaining data integrity, confidentiality and system availability against possible threats. In this paper, a hybrid approach towards achieving high performance is proposed. In fact, the important goal of this paper ...

متن کامل

Evaluation of Smart Schools’ Current Statue in Mazandaran Province based on “Smart School Development” Conceptual Model

Background: Smart school project is a new step in information age; it can create fundamental changes in teaching-learning process as well as teacher-student tasks and roles and integration of information technology and curriculum. The main purpose of this paper is to evaluate smart schools current statues in Mazandaran province based on “Smart School” Conceptual Model during the academic year 2...

متن کامل

Hybrid Botnet Detection Mechanism

Botnets have emerged as one of the biggest threats to internet security in the recent years. They have confounded security researchers because of their mobile and secretive behavior. A Botnet is a network of zombie machines remotely controlled by a command server or a Botmaster. These compromised host machines may be used for sending spam, launching DOS attacks, spying or stealing information. ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

ژورنال

عنوان ژورنال: Applied sciences

سال: 2023

ISSN: ['2076-3417']

DOI: https://doi.org/10.3390/app13020770